## # A tibble: 303 x 14
## age sex cp trtbps chol fbs restecg thalachh exng oldpeak slp
## <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 63 1 3 145 233 1 0 150 0 2.3 0
## 2 37 1 2 130 250 0 1 187 0 3.5 0
## 3 41 0 1 130 204 0 0 172 0 1.4 2
## 4 56 1 1 120 236 0 1 178 0 0.8 2
## 5 57 0 0 120 354 0 1 163 1 0.6 2
## 6 57 1 0 140 192 0 1 148 0 0.4 1
## 7 56 0 1 140 294 0 0 153 0 1.3 1
## 8 44 1 1 120 263 0 1 173 0 0 2
## 9 52 1 2 172 199 1 1 162 0 0.5 2
## 10 57 1 2 150 168 0 1 174 0 1.6 2
## # ... with 293 more rows, and 3 more variables: caa <dbl>, thall <dbl>,
## # output <dbl>
For my 1st figure, I am going to create a dumbbell chart that plots sex on the x axis and thalachh variable (maximum heart rate achieved) on the y axis.
For my 2nd figure, I am going to create a scatterplot for the relationship berween Chest Pain Type and Serum cholestoral.
For the third figure, I will display a bar plot of The slope of the peak exercise ST segment and Serum cholestoral for age ranges identified.
The slope of the peak exercise ST segment (1 = upsloping; 2 = flat; 3 = downsloping)
For the 4th figure, I display a box plot of resting blood pressure for each age range by sex. You can select and deselect the data as per gender by clicking on female and male. The graph is created by plotly.
For the 5th figure, I display an animated relationship between ST depression and serum cholestoral level. The graph is created by gganimate package.
For the 6th figure, I display an animated relationship between age and serum cholestoral level. The graph is created by gganimate package.